// cover some element-ui styles
@import "./variables.scss";
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-form-item__label {
  color: #fff;
}
.el-radio__label {
  color: #fff;
}
.el-radio__input.is-disabled.is-checked .el-radio__inner::after {
  background-color: rgb(35, 39, 43);
}

.el-input.is-disabled .el-input__inner {
  color: rgba(255, 255, 255, 0.6);
}

.el-input__inner {
  min-height: 36px !important;
  // line-height: 36px !important;
  background-color: $base-background-color;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  // border: 1px solid rgba(255,255,255,.14);
  // border-radius: 2px;
  // -webkit-border-radius: 2px;
  // -moz-border-radius: 2px;
  // -ms-border-radius: 2px;
  // -o-border-radius: 2px;
}
.el-select-dropdown {
  background-color: rgba(0, 0, 0, 0.9);
}
.el-select-dropdown__item.hover,
.el-select-dropdown__item:hover {
  background-color: rgba(35, 39, 43, 1);
}
.el-select-dropdown__item {
  color: #fff !important;
}
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected {
  background-color: rgba(0, 0, 0, 0.9);
}
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover {
  background-color: rgba(35, 39, 43, 1);
}
.el-textarea__inner {
  background-color: $base-background-color;
}
.el-textarea.is-disabled .el-textarea__inner {
  color: #fff !important;
  border: none;
  background-color: $base-background-color;
}
.el-range-input {
  background-color: rgba(0, 0, 0, 0.02) !important;
  color: #fff !important;
}
.el-button {
  background-color: transparent;
  color: #fff;
  z-index: 2;
  // border-color: rgba(255,255,255,.6);
}
.el-button:hover,
.el-button:focus {
  color: #fff;
  // border-color:#fff;
  background-color: $base-background-color;
}
.el-button.is-disabled {
  color: #fff;
  // border-color:#fff;
  background-color: transparent;
}
.el-button--text {
  color: #6ad7ca;
}

.el-input-group__append {
  color: #fff;
  background-color: $base-background-color;
}
.el-checkbox__label {
  color: #fff;
}

.el-checkbox__input.is-checked + .el-checkbox__label {
  color: rgba(59, 166, 153, 1);
}

.el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: rgba(59, 166, 153, 1);
  border-color: rgba(59, 166, 153, 1);
}

.el-dialog {
  position: relative;
  //background-color: rgba(35, 39, 43, 1);

  // filter: blur(2px);
  // //&:before ;
  // -webkit-filter: blur(2px);

  //   content: "";
  //   position: absolute;
  //   top: 0;
  //   left: 0;
  //   background-color: $base-background-color;
  //   width: 100%;
  //   height: 100%;
  //   filter: blur(15px);
  //   // z-index: -1;
  // }
}
.el-dialog::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url(../images/dialog_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(5px);
  z-index: auto;
}
.el-dialog__header {
  position: absolute;
  width: 100%;
}

.el-dialog__title {
  color: #fff !important;
}
.el-dialog__body {
  color: rgba(255, 255, 255, 0.6);
}

// .v-modal::before {
//   content: "";
//   position: absolute;
//   top: 0;
//   left: 0;
//   width: 100%;
//   height: 100%;
//   background-color: rgba(35, 39, 43, 1);
//   backdrop-filter: blur(5px);
//   z-index: -1;
// }

.el-pagination__total,
.el-pagination__jump {
  color: rgba(255, 255, 255, 0.6);
}
.el-pagination.is-background .btn-prev:disabled,
.el-pagination.is-background .btn-next:disabled {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .btn-next,
.el-pagination.is-background .el-pager li {
  background-color: $base-background-color;
}
.el-pagination .el-select .el-input .el-input__inner,
.el-pagination__editor.el-input .el-input__inner {
  border: 1px solid #fff;
}

.el-tag.el-tag--info {
  color: #fff;
  background-color: $base-background-color;
}
.el-tag {
  background: rgba(63, 187, 135, 0.1);
  border-color: #3fbb87;
  color: #3fbb87;
}
.el-tag.el-tag--danger {
  background-color: rgba(250, 34, 60, 0.1);
  border-color: #ff5368;
  color: #ff5368;
}
.el-tag.el-tag--success {
  background-color: rgba(106, 215, 202, 0.1);
  border-color: #6ad7ca;
  color: #6ad7ca;
}
.el-tag.el-tag--warning {
  border-color: #fa9722;
  background: rgba(250, 151, 34, 0.1);
  color: #fa9722;
}

.el-select .el-tag__close.el-icon-close {
  background-color: #fff;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}
// 表格颜色修改  边框修改
.el-table,
.vxe-table--body-wrapper {
  background-color: $base-background-color;
  color: #fff;
}
.el-table th {
  border-color: rgba(242, 242, 242, 0.2) !important;
  background: $base-background-color;
  .cell {
    font-weight: 400;
    color: #fff !important;
  }
}
.el-table tr {
  background-color: $base-background-color;
}
.el-table__body tr:hover > td {
  background-color: $base-background-color;
}
.el-table td,
.vxe-header--row {
  border-color: rgba(242, 242, 242, 0.2) !important;
}
.el-table__expand-icon {
  color: #fff;
}
// 展开行
.el-table__expanded-cell {
  background-color: $base-background-color;
}

.el-table::before {
  height: 0;
}
.vxe-table--render-default.border--inner .vxe-table--header-wrapper,
.vxe-table--render-default.border--none .vxe-table--header-wrapper {
  background-color: $base-background-color;
  color: #fff;
}
.vxe-table--header-border-line,
.vxe-table--render-default .vxe-table--border-line {
  border: none !important;
}
.vxe-table--render-default.border--default .vxe-body--column,
.vxe-table--render-default.border--default .vxe-footer--column,
.vxe-table--render-default.border--default .vxe-header--column,
.vxe-table--render-default.border--inner .vxe-body--column,
.vxe-table--render-default.border--inner .vxe-footer--column,
.vxe-table--render-default.border--inner .vxe-header--column {
  background-image: linear-gradient(
    rgba(0, 0, 0, 0.24),
    rgba(232, 234, 236, 0.4)
  ) !important;
}
.vxe-button.type--text {
  color: #fff !important;
}

// 固定列颜色修改
.el-table tbody tr:hover > td {
  background-color: $base-background-color;
}

.el-table__body tr.hover-row.current-row > td,
.el-table__body tr.hover-row.el-table__row--striped.current-row > td,
.el-table__body tr.hover-row.el-table__row--striped > td,
.el-table__body tr.hover-row > td {
  background-color: $base-background-color;
}

.el-table__fixed::before,
.el-table__fixed-right::before {
  height: 0;
  background-color: $base-background-color;
}

// .el-select-dropdown{}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}
.el-table__fixed-right {
  background-color: rgba(0, 0, 0, 1);
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// 时间控件
// fix date-picker ui bug in filter-item
.el-picker-panel {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff !important;
}
.el-picker-panel__footer {
  background-color: rgba(0, 0, 0, 0.4);
}
.el-date-table td.disabled div {
  background-color: rgba(48, 65, 86, 0.4);
}
.el-date-table th {
  color: #fff !important;
}
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  color: #fff !important;
  box-sizing: content-box;
}

.in-range {
  color: #23272b;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

.el-result__title p {
  color: #f4f4f5;
}

// .el-table {
//   background-color: rgb(48, 65, 86);
//   color: #f4f4f5;
// }

// .el-table .el-table__header-wrapper th,
// .el-table .el-table__fixed-header-wrapper th,
// .el-table tr {
//   background-color: rgb(48, 65, 86) !important;
//   color: #f4f4f5 !important;
// }

// .pagination-container[data-v-72233bcd] {
//   background-color: rgb(48, 65, 86) !important;
// }

// .el-pagination__total {
//   color: #f4f4f5;
// }
.el-tree {
  color: #fff !important;
  background-color: $base-background-color;
}
.el-tree-node__content:hover {
  background-color: $base-background-color;
}
.el-loading-mask {
  background-color: $base-background-color;
}
.jv-container.jv-light {
  background-color: $base-background-color;
}
.jv-key {
  color: #fff !important;
}
.el-message-box {
  border: none;
  background-color: rgba(0, 0, 0, 0.8);
}
.el-message-box__title,
.el-message-box__message {
  color: #fff !important;
}

.el-card {
  background-color: $base-background-color;
  color: #fff;
}
.el-card__header {
  border-color: rgba(242, 242, 242, 0.2) !important;
  color: #fff;
}
.el-tabs__item {
  color: #fff;
}

.vue-treeselect__control {
  background: $base-background-color;
}
.vue-treeselect__input {
  color: #fff;
}
.vue-treeselect__single-value {
  color: #fff !important;
}

.vue-treeselect__menu {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8) !important;
}
.vue-treeselect__menu :hover {
  background: #23272b;
  // .vue-treeselect__label {
  //   background: #202a60 !important;
  // }
}
.vue-treeselect__menu {
  > div:focus {
    background-color: transparent !important;
  }
}
.vue-treeselect__option--highlight {
  background-color: rgba(0, 0, 0, 0.8) !important;
}

.el-textarea__inner {
  color: #fff;
}
.el-textarea .el-input__count {
  color: #fff;
  background-color: transparent;
}

.el-tree-node:focus > .el-tree-node__content {
  background-color: transparent;
}

.el-collapse-item__header {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}
.el-collapse-item__wrap {
  background-color: $base-background-color;
  // background: rgba(0,0,0,0.24);
  border-radius: 6px 6px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 10px 20px;
}
.el-collapse-item__content {
  padding-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
}

//  .el-table__body tr:hover > td {
//   background-color: #1f2d3d  !important;
// }

// .el-table__body tr:hover
